import 'uno.css'

import { createSSRApp } from 'vue'

import http from '@/common/request/request'
import store from '@/store'
import dialog from '@/utils/dialog.js'
import share from '@/utils/share'

import App from './App.vue'

export function createApp() {
  const app = createSSRApp(App)
  app.config.globalProperties.$dialog = dialog
  app.config.globalProperties.$http = http
  app.use(store)
  // app.mixin(share)
  return {
    app
  }
}
